package com.mongo.Impl;

import com.mongo.bean.School;
import org.springframework.data.mongodb.repository.MongoRepository;

/**
 * @ClassName SchoolReponsitory
 * @Description TODO
 * @Author louby0923
 * @Date 2024/2/2 16:35
 * @Version 1.0
 */
public interface SchoolReponsitory extends MongoRepository<School, Long> {

    School findSchoolByName(String name);
}
